import type { RouteConfigsTable } from "/#/index";
import { $t } from "/@/plugins/i18n";

const billRouter: RouteConfigsTable = {
  path: "/bill",
  redirect: "/bill/index",
  meta: {
    icon: "memo",
    title: $t("menus.hsbill"),
    rank: 5
  },
  children: [
    {
      path: "/bill/index",
      name: "BillIndex",
      component: () => import("/@/views/bill/index.vue"),
      meta: {
        title: $t("menus.hsbill"),
        roles: ["admin", "super", "user"]
      }
    }
  ]
};

export default billRouter;
